import request from '@/utils/request'

// 查询健康建议列表
export function listBaseabnormalitemadvice(query) {
  return request({
    url: '/base/baseabnormalitemadvice/list',
    method: 'get',
    params: query
  })
}

// 查询健康建议详细
export function getBaseabnormalitemadvice(id) {
  return request({
    url: '/base/baseabnormalitemadvice/' + id,
    method: 'get'
  })
}

// 新增健康建议
export function addBaseabnormalitemadvice(data) {
  return request({
    url: '/base/baseabnormalitemadvice',
    method: 'post',
    data: data
  })
}

// 修改健康建议
export function updateBaseabnormalitemadvice(data) {
  return request({
    url: '/base/baseabnormalitemadvice',
    method: 'put',
    data: data
  })
}

// 删除健康建议
export function delBaseabnormalitemadvice(id) {
  return request({
    url: '/base/baseabnormalitemadvice/' + id,
    method: 'delete'
  })
}
